package com.erp.pro.service;

import com.erp.pro.domain.ProductDO;

import java.util.List;
import java.util.Map;

/**
 * 产品列表
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-07-01 15:42:37
 */
public interface ProductService {
	
	ProductDO get(Long id);
	
	List<ProductDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProductDO product);
	
	int update(ProductDO product);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	ProductDO getsku(Map<String, Object> params);

	ProductDO getskuinfo(String sku);

    int reduStock(Long skuid, Integer outQty);

    List<String> getProBrand();
}
